class Test(object):
    def eat(self):
        pass

t1 = Test()
print(t1)        #打印实例对象
print(id(t1))    #打印实例的内存地址
